projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439948a
)
Update gpsusbstub.cc (#610)
author
Vlad Wing
<vladwing@users.noreply.github.com>
Sat, 25 Jul 2020 12:20:36 +0000
(13:20 +0100)
committer
GitHub
<noreply@github.com>
Sat, 25 Jul 2020 12:20:36 +0000
(06:20 -0600)
Build fails when configured `--without-libusb`:
```
jeeps/gpsusbstub.cc:39:3: error: ‘Fatal’ was not declared in this scope
Fatal() << no_usb;
^~~~~
jeeps/gpsusbstub.cc:39:3: note: suggested alternative: ‘fatal’
Fatal() << no_usb;
^~~~~
fatal
```
jeeps/gpsusbstub.cc
patch
|
blob
|
history
diff --git
a/jeeps/gpsusbstub.cc
b/jeeps/gpsusbstub.cc
index 086ae7a9becc125cc5b8fabbe0e48e9d13d9f445..9be709380c138c70bd4fa4b606b56c2055ad1677 100644
(file)
--- a/
jeeps/gpsusbstub.cc
+++ b/
jeeps/gpsusbstub.cc
@@
-34,7
+34,7
@@
typedef struct gpsdevh gpsdevh;
int
gusb_init(const char* portname, gpsdevh** dh)
{
-
Fatal() << no_usb
;
+
fatal(no_usb)
;
return 0;
}